Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Adding and Subtracting Points and Vectors


Q3Point3D_Vector3D_Subtract

You can use the Q3Point3D_Vector3D_Subtract function to subtract a three-dimensional vector from a three-dimensional point.

TQ3Point3D *Q3Point3D_Vector3D_Subtract (
const TQ3Point3D *point3D, 
const TQ3Vector3D *vector3D, 
TQ3Point3D *result);
point3D
A three-dimensional point.
vector3D
A three-dimensional vector.
result
On exit, a three-dimensional point that is the result of subtracting vector3D from point3D.
DESCRIPTION
The Q3Point3D_Vector3D_Subtract function returns, as its function result and in the result parameter, the three-dimensional point that is the result of subtracting the vector vector3D from the point point3D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996